package com.mew.slots.core.game.ajxb.message;

import com.mew.slots.core.common.messge.response.SlotsPlayResponseMessage;
import io.netty.buffer.ByteBuf;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @Description: TODO
 * @Author King.Song
 * @Date 2020/11/10 0010
 **/
@Data
@ToString(callSuper = true)
@NoArgsConstructor
public class AjxbPlayResponseMessage extends SlotsPlayResponseMessage {

    public int openBox;
    public int[] bounsBox;


    @Override
    public void write(ByteBuf b) {
        super.write(b);
        writeInt(b,openBox);
        writeIntArray(b,bounsBox);
    }

    @Override
    public SlotsPlayResponseMessage read(ByteBuf byteBuf) {
        return null;
    }


}
